package ld.oauth.blog.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class CommentVo {

    @ApiModelProperty("主键id")
    private Integer id;

    @ApiModelProperty("文章id")
    private Integer articleId;

    @ApiModelProperty("评论内容")
    private String content;

    @ApiModelProperty("父id")
    private Integer parentId;

    @ApiModelProperty("创建人")
    private Integer userId;

    @ApiModelProperty("创建时间")
    private LocalDateTime createDate;

    private String nickName;

    private String userImage;

    private List<CommentVo> children;





}
